package com.etoak.service.impl;

import com.etoak.bean.Movie;
import com.etoak.mapper.MovieMapper;
import com.etoak.service.MovieService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MovieServiceImpl implements MovieService {

    @Autowired
    MovieMapper movieMapper;

    @Override
    public int addMovie(Movie movie) {
        return movieMapper.addMovie(movie);
    }
}
